import {post, get} from '../utils/request'
//对axios的二次封装，封装的是请求接口
//封装登录请求
export const loginAPI = (data)=>{
    return post('/dev-api/login',data)
}

export const getCodeImg = (data)=>{
    return get(
        '/dev-api//captchaImage', 
    )
}

export const graphqlAPI = (data)=>{
    return post('/graphql',data)
}

